package cn.edu.buu.hospital.service;

import cn.edu.buu.hospital.entity.Pay;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface PayService {
    void add(Pay pay);
    void removeById(Long payId);
    void modify(Pay pay);
    Pay findById(Long payId);
    List<Pay> findAll();
    PageInfo<Pay> find(int pageNum, int pageSize, Pay condition, String payDate);
    PageInfo<Pay> findByUserId(int pageNum, int pageSize, Long userId, Pay condition, String payDate);
}